﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%var lstRole = ViewData["lstRole"] as IEnumerable<QLDAOL.Models.DM_ROLE>; %>
<div class="adduser">
    Email:<br />
    <input type="text" id="email" class="width60 fl" />
    <br />
    <br />
    UserRole: <br />
    <select id="role" class="width25 fl">
        <%foreach (var role in lstRole)
          { %>
          <option id="<%=role.ID %>" value="<%=role.ID %>"><%=role.Role %></option>
        <%} %>
        
    </select>
    <br />
    <input type="button" id="btn_add" class="marginA5 button" value="Add" onclick="adduserAct();"/>
</div>
